home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / quartz / quartz10.lha / src / common / util.h < prev   
Encoding:
C/C++ Source or Header  |  1990-05-08  |  390 b   |  12 lines

  1. #define MyMalloc(n,t)    ((t *)mymalloc((unsigned)((n) * sizeof(t))))
  2. #define MyReAlloc(p,n,t) ((t *)myrealloc((char *)p,(unsigned)((n) * sizeof(t))))
  3. #define MyRead(p,n,f)        myread((char *)(p),sizeof(*(p)),n,f)
  4. #define MyWrite(p,n,f)        mywrite((char *)(p),sizeof(*(p)),n,f)
  5.  
  6. void MyError(), MySysError();
  7.  
  8. FILE *MyOpen();
  9. void MyClose(), myread(), mywrite();
  10. int MyFileLen();
  11. char *mymalloc();
  12.